package com.hongxun.project.assets.bModelItem.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hongxun.framework.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 模块子表 b_model_item
 * 
 * @author hongxun
 * @date 2019-07-10
 */
public class BModelItem extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String id;
	/** 模块ID */
	private String modelId;
	/** 材料ID */
	private String materialId;
	/** 数量 */
	private BigDecimal count;
	/**  */
	private String datastate;

	public void setId(String id) 
	{
		this.id = id;
	}

	public String getId() 
	{
		return id;
	}
	public void setModelId(String modelId) 
	{
		this.modelId = modelId;
	}

	public String getModelId() 
	{
		return modelId;
	}
	public void setMaterialId(String materialId) 
	{
		this.materialId = materialId;
	}

	public String getMaterialId() 
	{
		return materialId;
	}
	public void setCount(BigDecimal count) 
	{
		this.count = count;
	}

	public BigDecimal getCount() 
	{
		return count;
	}
	public void setDatastate(String datastate) 
	{
		this.datastate = datastate;
	}

	public String getDatastate() 
	{
		return datastate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("modelId", getModelId())
            .append("materialId", getMaterialId())
            .append("count", getCount())
            .append("datastate", getDatastate())
            .toString();
    }
}
